package com.fitz.remote.client.pool;

/**
 * @author fitz
 * Created  on 2020/5/26
 */
public class ServerNode {

    private String host;

    private int port;

    byte serializerType;

    public ServerNode() {
    }

    public ServerNode(String host, int port) {
        this.host = host;
        this.port = port;
    }

    public ServerNode(String host, int port,byte serializerType) {
        this.host = host;
        this.port = port;
        this.serializerType = serializerType;
    }

    public byte getSerializerType() {
        return serializerType;
    }

    public void setSerializerType(byte serializerType) {
        this.serializerType = serializerType;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }
}
